class StartGame extends eui.Component implements eui.UIComponent {
	public constructor() {
		super();
	}
	public btn_start: eui.Image;

	protected partAdded(partName: string, instance: any): void {
		super.partAdded(partName, instance);
	}


	protected childrenCreated(): void {
		super.childrenCreated();
		this.init();
	}
	private init(){
		this.btn_start.addEventListener(egret.TouchEvent.TOUCH_TAP,this.onStartGame,this);
	}
	private onStartGame(){
		this.removeChildren();
		this.addChild(new GameScene());
	}

}